home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 3
/
BBS in a box - Trilogy III.iso
/
Files
/
Bus
/
C
/
Commander Demo
/
Commander Demo.rsrc
/
TEXT_5002_Abs.txt
< prev
next >
Encoding:
Amiga (detected)
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-09-07
|
411 b
|
13 lines
 Abs (number) -> positive number
Pg 27-1
Returns the absolute (unsigned, positive) value of number.
If number is negative, it is returned as positive.
If number is positive, it is unchanged.
The following example returns the absolute value of -10.3, which is 10.3:
vVector:=Abs(-10.3) ` vVector gets 10.3